package com.teach.dto;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Data
public class UserRegFormDTO {

    private String userName;
    private String userPwd;
    private String userRealName;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date userBirthdate;
    private Boolean userSex;
    private String userTel;
    private String userQq;
    private String userIdcard;
    private String userAddress;
    private String userImg;
    
    

}
